﻿using System;
using System.ComponentModel;
using System.Xml.Serialization;
using DevExpress.Xpo;
using DevExpress.Xpo.Metadata;
using DevExpress.Xpo.Helpers;
using DevExpress.Data.Filtering;
using DevExpress.ExpressApp;
using DevExpress.Persistent.Base;
using DevExpress.Persistent.BaseImpl;
using DevExpress.Persistent.Validation;
namespace Top.Module.Domain
{
    [DefaultClassOptions]
    [Persistent("TopWlbConsignMent")]
    public class TopWlbConsignMent : BaseObject
    {
        //begin
        public TopWlbConsignMent()
        {}
        public TopWlbConsignMent(Session session) : base(session)
        {}
        public override void AfterConstruction(){base.AfterConstruction();}

        private string _Id;
        public string Id
        {
            get
            {
                return _Id;
            }
            set
            {
                SetPropertyValue("Id", ref _Id, value);
            }
        }
        private string _UserId;
        public string UserId
        {
            get
            {
                return _UserId;
            }
            set
            {
                SetPropertyValue("UserId", ref _UserId, value);
            }
        }
        private string _ItemId;
        public string ItemId
        {
            get
            {
                return _ItemId;
            }
            set
            {
                SetPropertyValue("ItemId", ref _ItemId, value);
            }
        }
        private string _TgtUserId;
        public string TgtUserId
        {
            get
            {
                return _TgtUserId;
            }
            set
            {
                SetPropertyValue("TgtUserId", ref _TgtUserId, value);
            }
        }
        private string _TgtItemId;
        public string TgtItemId
        {
            get
            {
                return _TgtItemId;
            }
            set
            {
                SetPropertyValue("TgtItemId", ref _TgtItemId, value);
            }
        }
        private long _Number;
        public long Number
        {
            get
            {
                return _Number;
            }
            set
            {
                SetPropertyValue("Number", ref _Number, value);
            }
        }
        //end
    }
}
